const routes = [
  {
    path: '/index',
    name: 'Index',
    component: () => import(/* webpackChunkName: "gientechDbUnit" */ '@/views/layout'),
    redirect: '/unitPlan',
    children: [
      // {
      //   path: '/unitPlan',
      //   name: 'unitPlan',
      //   component: () => import(/* webpackChunkName: "unitPlan" */ '@/views/unitPlan')
      // }
    ]
  },
  {
    path: '/',
    name: 'SystemIndex',
    component: () => import(/* webpackChunkName: "gientechNacos" */ '@/views/systemIndex'),
    meta: {
      auth: 1
    }
  },
  {
    path: '/login',
    name: 'login',
    component: () => import(/* webpackChunkName: "gientechNacos" */ '@/views/login'),
    meta: {
      auth: 0
    }
  }
]
export default routes
